#pragma once
#include "cocos2d.h"

#define GAMEMENU_NORMAL			(0)
#define GAMEMENU_NOTOUCH		(1)
using namespace cocos2d;

class CGameMenu : public CCMenu
{
public:
	CGameMenu(void);
	~CGameMenu(void);
	static CGameMenu* menuWithItems(CCMenuItem* item, ...);

	virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	virtual void ccTouchEnded(CCTouch* touch, CCEvent* event);
	virtual void ccTouchCancelled(CCTouch *touch, CCEvent* event);
	virtual void ccTouchMoved(CCTouch* touch, CCEvent* event);

	int getState(){return m_state;};
	void setState(int state){m_state = state;};
private:
	int m_state;
};
